package com.black.cat.jvm.instructions.loads.lload;

import com.black.cat.jvm.instructions.base.InstructionIndex8;
import com.black.cat.jvm.rtda.Frame;

/**
 * @Author blackcat
 * @create 2021/8/13 14:15
 * @version: 1.0
 * @description:将指定的long类型本地变量推送到栈顶
 */
public class LLOAD extends InstructionIndex8 {

    @Override
    public void execute(Frame frame) {
        Long val = frame.localVars().getLong(this.idx);
        frame.operandStack().pushLong(val);
    }

}
